Raspberry Pi /RP2040 /PIO0 /SM2_SHIFTCTRL

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SM2_SHIFTCTRL

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (AUTOPUSH)AUTOPUSH 0 (AUTOPULL)AUTOPULL 0 (IN_SHIFTDIR)IN_SHIFTDIR 0 (OUT_SHIFTDIR)OUT_SHIFTDIR 0PUSH_THRESH 0PULL_THRESH 0 (FJOIN_TX)FJOIN_TX 0 (FJOIN_RX)FJOIN_RX

Description

Control behaviour of the input/output shift registers for state machine 2

Fields

AUTOPUSH

Push automatically when the input shift register is filled

AUTOPULL

Pull automatically when the output shift register is emptied

IN_SHIFTDIR

1 = shift input shift register to right (data enters from left). 0 = to left.

OUT_SHIFTDIR

1 = shift out of output shift register to right. 0 = to left.

PUSH_THRESH

Number of bits shifted into RXSR before autopush or conditional push. Write 0 for value of 32.

PULL_THRESH

Number of bits shifted out of TXSR before autopull or conditional pull. Write 0 for value of 32.

FJOIN_TX

When 1, TX FIFO steals the RX FIFO’s storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed.

FJOIN_RX

When 1, RX FIFO steals the TX FIFO’s storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed.

Links

() ()